// import 'package:flutter_test/flutter_test.dart';
// import 'package:huawei_login/huawei_login.dart';
// import 'package:huawei_login/huawei_login_platform_interface.dart';
// import 'package:huawei_login/huawei_login_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';

// class MockHuaweiLoginPlatform
//     with MockPlatformInterfaceMixin
//     implements HuaweiLoginPlatform {

//   @override
//   Future<String?> getPlatformVersion() => Future.value('42');
// }

// void main() {
//   final HuaweiLoginPlatform initialPlatform = HuaweiLoginPlatform.instance;

//   test('$MethodChannelHuaweiLogin is the default instance', () {
//     expect(initialPlatform, isInstanceOf<MethodChannelHuaweiLogin>());
//   });

//   test('getPlatformVersion', () async {
//     HuaweiLogin huaweiLoginPlugin = HuaweiLogin();
//     MockHuaweiLoginPlatform fakePlatform = MockHuaweiLoginPlatform();
//     HuaweiLoginPlatform.instance = fakePlatform;

//     expect(await huaweiLoginPlugin.getPlatformVersion(), '42');
//   });
// }
